<html xmlns="http://www.w3.org/1999/xhtml">
<head><script>
    var newRoot = document.createElementNS("http://www.w3.org/2000/svg", "test");
    document.removeChild(document.documentElement);
    document.appendChild(newRoot);
</script></head>
</html>
